win32: {
  PLATFORM         = Win32
  DEFINES         += Win32 USE_OLD_STREAMS
  QMAKE_LFLAGS     =
} else {
  PLATFORM         = Linux
  DEFINES         += Linux UNIX
}

DEFINES += $${QMAKE_HOST.arch}

isEmpty( TARGET ) {
  TARGET          = $$basename( _PRO_FILE_ )
  TARGET          = $$replace( TARGET, .pro, )
}

SOURCE_ROOT = $$dirname( PWD )
SOURCE_DIR = $$dirname( _PRO_FILE_ )

win32: {
  TARGET_ROOT    = $${SOURCE_ROOT}/build
} else {
  TARGET_ROOT	 = $(HOME)/SampleQGL
}

